package com.yaj.mesif.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author wei
 * @since 2021-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TI_ITEM")
@ApiModel(value="TiItem对象", description="")
public class TiItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "営業単位コード")
    @TableId(value = "OPERATING_UNIT_CODE", type = IdType.NONE)
    private String operatingUnitCode;

    @ApiModelProperty(value = "在庫組織コード")
    @TableField("ORGANIZATION_CODE")
    private String organizationCode;

    @ApiModelProperty(value = "品目番号")
    @TableField("SEGMENT1")
    private String segment1;

    @ApiModelProperty(value = "品目摘要")
    @TableField("DESCRIPTION")
    private String description;

    @ApiModelProperty(value = "ユーザ品目タイプ")
    @TableField("ITEM_TYPE_CODE")
    private String itemTypeCode;

    @ApiModelProperty(value = "改訂")
    @TableField("REVISION")
    private String revision;

    @ApiModelProperty(value = "カナ品目名称")
    @TableField("DESCRIPTION_KANA")
    private String descriptionKana;

    @ApiModelProperty(value = "商品コード")
    @TableField("PRODUCT_CODE")
    private String productCode;

    @ApiModelProperty(value = "EANコード")
    @TableField("EAN_CODE")
    private String eanCode;

    @ApiModelProperty(value = "受入科目コード")
    @TableField("ACCEPT_ACCOUNT_CODE")
    private String acceptAccountCode;

    @ApiModelProperty(value = "出荷パターン")
    @TableField("SHIPMENT_PATTERN")
    private String shipmentPattern;

    @ApiModelProperty(value = "メーカー名")
    @TableField("MAKER_NAME")
    private String makerName;

    @ApiModelProperty(value = "形式")
    @TableField("FORM")
    private String form;

    @ApiModelProperty(value = "仕様")
    @TableField("SPECIFICATION")
    private String specification;

    @ApiModelProperty(value = "英字品目名")
    @TableField("DESCRIPTION_ENG")
    private String descriptionEng;

    @ApiModelProperty(value = "ロットトレース対象フラグ")
    @TableField("TRACE_FLAG")
    private String traceFlag;

    @ApiModelProperty(value = "ROHS対象フラグ")
    @TableField("ROHS_FLAG")
    private String rohsFlag;

    @ApiModelProperty(value = "有効開始日")
    @TableField("ACTIVE_DATE")
    private String activeDate;

    @ApiModelProperty(value = "失効予定日")
    @TableField("EXPIRED_DATE")
    private String expiredDate;

    @ApiModelProperty(value = "国内外識別フラグ")
    @TableField("SALEDEST_FLAG")
    private String saledestFlag;

    @ApiModelProperty(value = "受入日管理-納期前")
    @TableField("MSIB_DAYS_EARLY_RECEIPT_ALLWD")
    private BigDecimal msibDaysEarlyReceiptAllwd;

    @ApiModelProperty(value = "レコード作成者ID")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "レコード作成日時")
    @TableField(fill= FieldFill.INSERT)
    private Date createTimestamp;

    @ApiModelProperty(value = "レコード更新者ID")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "レコード更新日時")
    @TableField("UPDATE_TIMESTAMP")
    private Date updateTimestamp;


}
